//
// Surface.hh for 207correl in /home/druart_p/Dropbox/Work/Teck2/math/my-math-epi/207
//
// Made by pierrick druart
// Login   <druart_p@epitech.net>
//
// Started on  Wed May 16 11:30:27 2012 pierrick druart
// Last update Wed May 23 17:00:37 2012 pierrick druart
//

#ifndef		__SURFACE_HH__
#define		__SURFACE_HH__

#include	<iostream>
#include	<sstream>
#include	<string>
#include	<QApplication>
#include	<QProcess>
#include	<QWidget>
#include	<QString>
#include	<QPainter>
#include	<list>

#define		LENGTH 850
#define		HEIGTH 850

class Surface : public QWidget
{
private:
  int		length;
  int		heigth;
  int		min_boy;
  int		min_girl;
  int		max_girl;
  int		max_boy;
  int		rap_x;
  int		rap_y;
  char		*echelle;
  char		**av;
  std::list<int> _boy;
  std::list<int> _girl;

public:
  Surface(char **av, std::list<int> girl, std::list<int> boy);
  virtual ~Surface();

protected:
  void		paintEvent(QPaintEvent *event);
  void		point(QPainter *painter);
  void		line(QPainter *painter);
  void		limite();
};

#endif		/*__Surface_HH__*/
